import request from '@/utils/request'

// api地址
const api = {
  signlist: 'User/signlist',
  signlog: 'User/sign_log',
  signset: 'User/sign',
}

// 获取签到列表
export const signlist = () => {
  return request.get(api.signlist)
}

// 获取签到记录
export const signlog = () => {
  return request.post(api.signlog)
}

// 签到
export const signset = () => {
  return request.post(api.signset)
}
